# RUN: %lldb -b -s %s -c %p/Inputs/x86-64-freebsd.core | FileCheck %s

register read --all
# CHECK-DAG: rip = 0x000000000020242b
# CHECK-DAG: rflags = 0x0000000000010246
# CHECK-DAG: cs = 0x0000000000000043
# CHECK-DAG: fs = 0x0013
# CHECK-DAG: gs = 0x001b
# CHECK-DAG: ss = 0x000000000000003b
# CHECK-DAG: ds = 0x003b
# CHECK-DAG: es = 0x003b

# CHECK-DAG: fiseg = 0x00000000
# CHECK-DAG: fioff = 0x002023ea
# CHECK-DAG: fip = 0x00000000002023ea
# CHECK-DAG: foseg = 0x00007fff
# CHECK-DAG: fooff = 0xffffd138
# CHECK-DAG: fdp = 0x00007fffffffd138
